<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = $show_header = 1;
include $this->admin_tpl('header_v2.0', 'admin');
?>

<div id="content"> 
    <div class="row">
        <article id="widget-grid" class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
             <div class="jarviswidget jarviswidget-color-darken" id="money_list_<?php echo $_GET['menuid']?>" data-widget-editbutton="false"data-widget-togglebutton="false"  data-widget-deletebutton="false" data-widget-fullscreenbutton="false">
                <header>
                      <span class="widget-icon"> <i class="fa fa-table txt-color-white"></i> </span>
                     <h2>用户购买记录</h2>
                </header>
                <div>
                    <div class="widget-body no-padding">
                        <form name="myform" id="myform" action="?m=shuafen&c=space&a=delete" method="post" class="form-horizontal">
                            <div class ="table-content">
                                <table width="100%" cellspacing="0" class="table  pinned table-bordered  table-striped table-condensed ">
                                    <thead>
                                        <tr>
											<th>序号</th>
											<th>手机号</th>
											<th>购买类型</th>
											<th>购买次数</th>
											<th>购买金额(总)</th>
											<th>购买时间</th>
                                        </tr>
                                    </thead>
                                </table>
                                <table width="100%" cellspacing="0" class="table table-bordered  table-striped table-condensed table-hover">
                                    <thead>
                                        <tr>
											<th>序号</th>
											<th>手机号</th>
											<th>购买类型</th>
											<th>购买次数</th>
											<th>购买金额(总)</th>
											<th>购买时间</th>
										</tr>
                                    </thead>
                                    <tbody>
                                        <?php 
                                            if(is_array($infos)){
                                                foreach($infos as $k=>$info){
                                        ?>
                                    <tr>
										<td ><?php echo $k+1?></td>
										<td ><?php echo $info['member_tel']?></td>
										<td ><?php echo $info['goods_name']?></td>
										<td ><?php echo $info['times']?></td>
										<td ><?php echo $info['times']*$info['money']?></td>
										<td ><?php echo $info['time']?date('Y-m-d',$info['time']):''?></td>
                                    </tr>  

                                        <?php
                                        }
                                    }
                                    ?>
                                    </tbody>
                                </table>

                               <div class="widget-footer">
                                 <div id="pages"><?php echo $pages;?></div>

                                </div>
                            </div>
                        </form>
                    </div>
				</div>
             </div>
        </article>
    </div>
</div>
<!-- 
<div class="subnav">
	<div class="content-menu ib-a blue line-x">
	</div>
</div>
<div class="pad-lr-10">
	<form name="myform" action="?m=shuafen&c=space&a=delete" method="post" id="myform">
		<div class="table-list">
			<table width="100%" cellspacing="0">
				<thead>
				<tr>
					<th width="6%" align="center">序号</th>
					<th width="12%" align="center">手机号</th>
					<th width="12%" align="center">购买类型</th>
					<th width="12%" align="center">购买次数</th>
					<th width='10%' align="center">购买金额(总)</th>
					<th width='10%' align="center">购买时间</th>
				</tr>
				</thead>
				<tbody>
				<?php
				if(is_array($infos)){
					foreach($infos as $k=>$info){
						?>
						<tr>
							<td width="6%"  align="center"><?php echo $k+1?></td>
							<td width="12%"  align="center"><?php echo $info['member_tel']?></td>
							<td width="12%"  align="center"><?php echo $info['goods_name']?></td>
							<td width="12%"  align="center"><?php echo $info['times']?></td>
							<td width="12%"  align="center"><?php echo $info['times']*$info['money']?></td>
							<td width='10%' align="center"><?php echo $info['time']?date('Y-m-d',$info['time']):''?></td>
						</tr>
						<?php
					}
				}
				?>
				</tbody>
			</table>
			<div id="pages"><?php echo $pages?></div>
	</form>
</div> -->
</body>
</html>